package com.ruoyi.project.module.product.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 产品表 product
 * 
 * @author ruoyi
 * @date 2018-09-26
 */
public class Product extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 产品主键 */
	private Integer productId;
	/** 产品名称 */
	private String productName;
	/** 创建时间 */
	private Date createTime;
	/** 产品介绍 */
	private String productIntro;

	public void setProductId(Integer productId) 
	{
		this.productId = productId;
	}

	public Integer getProductId() 
	{
		return productId;
	}
	public void setProductName(String productName) 
	{
		this.productName = productName;
	}

	public String getProductName() 
	{
		return productName;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setProductIntro(String productIntro) 
	{
		this.productIntro = productIntro;
	}

	public String getProductIntro() 
	{
		return productIntro;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("createTime", getCreateTime())
            .append("productIntro", getProductIntro())
            .toString();
    }
}
